package com.dhy.query;

import io.swagger.models.auth.In;
import lombok.Data;

@Data
public class BaseQuery {

    private Integer currentPage;

    private Integer perPageSize;

    private String keyWord;
    public Integer getStartIndex(){
        return (currentPage-1)*perPageSize;
    }

}
